package com.ctgu.springboot.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ctgu.springboot.entity.PubResouse;
import com.ctgu.springboot.entity.Student;
import com.ctgu.springboot.entity.SubmitResouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Primary;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cs
 * @since 2023-07-07
 */
@Mapper
@Primary
public interface SubmitResouseMapper extends BaseMapper<SubmitResouse> {

    IPage<SubmitResouse> listPage(IPage<SubmitResouse> page, @Param(Constants.WRAPPER) Wrapper<SubmitResouse> wrapper);

    SubmitResouse selectByUrl(String url);

}
